//
//  SimCommonCell.h
//

#import <UIKit/UIKit.h>
#import "SimDefine.h"

/*
 用途：最设置默认效果发字体大小颜色，背景颜色，按下背景颜色，accessoryView的图片等， 提供textLb,detailLb,imageView和默认accessoryView的内容及frame设置
 说明：
 */

SimDefineValue(kSimCellTitleFont, UIFont *)
SimDefineValue(kSimCellDetailTitleFont, UIFont *)

SimDefineValue(kSimCellTitleColor, UIColor *)
SimDefineValue(kSimCellDetailColor, UIColor *)

SimDefineValue(kSimCellAccessoryNormalName, NSString *)
SimDefineValue(kSimCellAccessoryHighlightName, NSString *)

SimDefineValue(kSimCellIpadOffset, NSNumber *)

@interface SimCommonCell : UITableViewCell {

}

@property(nonatomic, assign) CGRect imageCustomFrame;
@property(nonatomic, assign) CGRect textLbCustomFrame;
@property(nonatomic, assign) CGRect detailLbCustomFrame;

@property(nonatomic, assign) CGPoint imageOffset;
@property(nonatomic, assign) CGPoint textLbOffset;
@property(nonatomic, assign) CGPoint detailLbOffset;

@property(nonatomic, assign) CGFloat accessoryViewLeft;
@property(nonatomic, strong) UIColor *cellBgColor;

@property(nonatomic, assign) BOOL bShowTopDivideLine;
@property(nonatomic, assign) BOOL bShowBottomDivideLine;
@property(nonatomic, assign) CGFloat lineOffX;
@property(nonatomic, strong) UIColor *divideLineColor;

@property (nonatomic, assign) BOOL showBadge;

@property (nonatomic, assign) BOOL enable;
@property (nonatomic, assign) BOOL enableSelectEffect;

- (void)showCommonAccessoryView:(BOOL)show;

@end
